const scriptTag = document.createElement('script'); scriptTag.innerHTML = `console.log('User Inactive');`; document.head.appendChild(scriptTag);